package com.xbongbong.paas.model;

import com.xbongbong.paas.toolbox.wrap.IModel;
import com.xbongbong.pro.domain.entity.ContractCompareUserEntity;

import java.util.List;
import java.util.Map;


/**
 * @author bomfish
 */
public interface ContractCompareUserModel extends IModel<ContractCompareUserEntity> {
   Integer insert(ContractCompareUserEntity entity);

   void insertBatch(List<ContractCompareUserEntity> list);

   List<ContractCompareUserEntity> findEntitys(Map<String, Object> param);

   Integer getEntitysCount(Map<String, Object> param);

   Integer update(ContractCompareUserEntity entity);

   Integer updateBatch(List<ContractCompareUserEntity> list, String corpid);

   ContractCompareUserEntity getByKey(Long key, String corpid);

   List findEntitysWithoutSub(Map<String, Object> param);
}
